get_filename_component(ADF_PATH $ENV{IDF_PATH} ABSOLUTE)

set(COMPONENT_ADD_INCLUDEDIRS .)

idf_component_register(SRCS "user_player.c" "user_record.c" "user_opus.c" "user_codec.c"
                    INCLUDE_DIRS "."
                    REQUIRES audio_sal audio_hal esp-adf-libs audio_stream user_utils esp_peripherals bluetooth_service bt user_bt)